package net.oschina.app.pages;

import android.widget.TextView;

import net.oschina.app.SoloWrap;

/**
 * Created by Aaron on 2017/10/29.
 */

public class PageSettings {
    private SoloWrap soloWrap;

    public PageSettings(SoloWrap soloWrap){
        this.soloWrap = soloWrap;
    }

    public TextView getLogoutTv(){
        return (TextView) soloWrap.findById("net.oschina.app:id/setting_cancle");
    }

    public void clickLogout(){
        soloWrap.click(getLogoutTv());
    }

}
